﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using System.Data;

namespace IObjects
{
    public interface IConfig
    {
        ConfigInfo ConfigInfo
        {
            get;
            set;
        }
        string Mode
        {
            get;
            set;
        }
        int Save();
        IList<ConfigInfo> GetConfigs();
        ConfigInfo GetById(string id);
        ConfigInfo GetByName(string name);
       
    }
}
